package shop.yaojianfeng.springlearning.section6.service;

import shop.yaojianfeng.springlearning.section4.entity.Product;
import shop.yaojianfeng.springlearning.section6.entity.Order;

/**产品业务接口
 * @author yaojianfeng
 */
public interface OrderService {

    /**
     * 更新订单
     * @param order
     * @return
     */
    int updateOrder(Order order);

    /**
     * 插入订单
     * @param order
     * @return
     */
    int insertOrder(Order order);
}
